package com.lenovo.manufacture;

import java.util.Date;

public class SellCar {
    private String name;
    private int price;
    private Date sellTime;
    private int sellNum;

    public SellCar(String name, int price, Date sellTime, int sellNum) {
        this.name = name;
        this.price = price;
        this.sellTime = sellTime;
        this.sellNum = sellNum;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    public Date getSellTime() {
        return sellTime;
    }

    public void setSellTime(Date sellTime) {
        this.sellTime = sellTime;
    }

    public int getSellNum() {
        return sellNum;
    }

    public void setSellNum(int sellNum) {
        this.sellNum = sellNum;
    }

    @Override
    public String toString() {
        return "SellCar{" +
                "name='" + name + '\'' +
                ", price=" + price +
                ", sellTime=" + sellTime +
                ", sellNum=" + sellNum +
                '}';
    }
}
